﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using NHibernate.Mapping.Attributes;

namespace BidFunLib.Entity
{
    /// <summary>
    /// This class represents one user who has bed on a BidSale
    /// </summary>
   // [NHibernate.Mapping.Attributes.Class(Table="biduser",NameType=typeof(BidUser))]
    public class BidUser
    {
        /// <summary>
        /// technical unique key used in persitance tier. 
        /// </summary>
        //[NHibernate.Mapping.Attributes.Id(Name = "IdBidObject")] 
        //[NHibernate.Mapping.Attributes.Generator(1, Class ="Native")]
        /*[Id(Name = "IdBidObject")]
        [Generator(Class = "native")]*/
        virtual public Int32 IdBidUser { get; set; }

        /// <summary>
        /// Pseudo of the user
        /// </summary>
        //[NHibernate.Mapping.Attributes.Property(Name="Pseudo")]
        virtual public String Pseudo { get; set; }
    }
}



 //public class Contact : DomainClass { [NHibernate.Mapping.Attributes.Id(Name = "Id")] [NHibernate.Mapping.Attributes.Generator(1, Class ="Identity")] public virtual int ID { get; set; }